/*global Backbone, jQuery, _, ENTER_KEY */
var $_T = $_T || {};

(function ($) {
	'use strict';

    var photo_path = "http://baobaoj-photos.u.qiniudn.com/";
	
	$_T.item ="<div>item </div>";
	
	$_T.NavBar ="<div>NavBar  </div>";
	
	$_T.Node_sadas = "";


    $_T.Node_1_1 = '<div class="bbj-note bbj-tl-one ph">'+
    '    <div class="pr photo bbj-tl-one-h oh">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good BabyI am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>';

    $_T.Node_2_1 = '<div class="bbj-note bbj-tl-two same">'+
    '<div class="pr photo two-same-top oh">'+
    '<div class="photo-figure">'+
    '       <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="pr photo two-same-bottom oh mtone">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>';

	//$_T.Node_1_1 ="<div> Node_1_1 # <img src=\'"+photo_path+"<%= item[0].savePath %>\' /> #</div>";
	//$_T.Node_2_1 ="<div> Node_2_1 "+
	//				"# <img src=\'"+photo_path+"<%= item[0].savePath %>\' /> # "+
	//				" <img src=\'"+photo_path+"<%= item[1].savePath %>\' /> #</div>";
	$_T.Node_2_2 ='<div class="bbj-note bbj-tl-two topBig">'+
    '    <div class="pr photo two-topBig-top oh">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="pr photo two-topBig-bottom oh mtone">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>';


	$_T.Node_2_3 ='<div class="bbj-note bbj-tl-two bottomBig">'+
    '    <div class="pr photo two-bottomBig-top oh">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="pr photo two-bottomBig-bottom oh mtone">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>';
	$_T.Node_3_1 ='<div class="bbj-note bbj-tl-three same">'+
    '    <div class="pr photo three-same-top oh">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="pr photo three-same-middle oh mtone">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="pr photo three-same-bottom oh mtone">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[2].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>';

    $_T.Node_3_2 = '<div class="bbj-note bbj-tl-three topTwoSmall">'+
    '    <div class="three-twoSmallTop-top clearfix">'+
    '    <div class="pr photo three-twoSmall-left oh fl mrone">'+
    '        <div class="photo-figure">'+
    '            <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '            <div class="bbj-note-jiyu">'+
    '                <p>I am a good Baby</p>'+
    '            </div>'+
    '        </div>'+
    '        <div class="bbj-time-share">'+
    '            <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '        </div>'+
    '    </div>'+
    '    <div class="pr photo three-twoSmall-right oh fl">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '           <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>'+
    '    <div class="pr photo three-twoSmallTop-bottom oh clearfix mtone">'+
    '        <div class="photo-figure">'+
    '            <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[2].savePath %>\"/>'+
    '            <div class="bbj-note-jiyu">'+
    '                <p>I am a good Baby</p>'+
    '            </div>'+
    '        </div>'+
    '        <div class="bbj-time-share">'+
    '            <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '        </div>'+
    '    </div>'+
    '</div>';

    $_T.Node_3_3 = '<div class="bbj-note bbj-tl-three topOneSmall">'+
    '   <div class="pr photo three-oneSmallTop-top oh clearfix">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="three-oneSmallTop-bottom clearfix mtone">'+
    '    <div class="pr photo three-twoBig-left oh fl mrone">'+
    '        <div class="photo-figure">'+
    '            <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '            <div class="bbj-note-jiyu">'+
    '                <p>I am a good Baby</p>'+
    '            </div>'+
    '        </div>'+
    '        <div class="bbj-time-share">'+
    '            <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '        </div>'+
    '    </div>'+
    '    <div class="pr photo three-twoBig-right oh fl">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[2].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>'+
    '</div>';

    $_T.Node_3_4 = '<div class="bbj-note bbj-tl-three topTwoSmall">'+
    '    <div class="pr photo three-twoSmallTop-bottom oh clearfix">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '<div class="three-twoSmallTop-top clearfix mtone">'+
    '    <div class="pr photo three-twoSmall-left oh fl mrone">'+
    '        <div class="photo-figure">'+
    '            <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '            <div class="bbj-note-jiyu">'+
    '                <p>I am a good Baby</p>'+
    '            </div>'+
    '        </div>'+
    '        <div class="bbj-time-share">'+
    '            <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '        </div>'+
    '    </div>'+
    '    <div class="pr photo three-twoSmall-right oh fl">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[2].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>'+
    '</div>';

    $_T.Node_3_5 = '<div class="bbj-note bbj-tl-three topOneSmall">'+
    '    <div class="three-oneSmallTop-bottom clearfix">'+
    '    <div class="pr photo three-twoBig-left oh fl mrone">'+
    '        <div class="photo-figure">'+
    '            <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[0].savePath %>\"/>'+
    '            <div class="bbj-note-jiyu">'+
    '                <p>I am a good Baby</p>'+
    '            </div>'+
    '        </div>'+
    '        <div class="bbj-time-share">'+
    '            <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '        </div>'+
    '    </div>'+
    '    <div class="pr photo three-twoBig-right oh fl">'+
    '    <div class="photo-figure">'+
    '        <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[1].savePath %>\"/>'+
    '        <div class="bbj-note-jiyu">'+
    '            <p>I am a good Baby</p>'+
    '        </div>'+
    '    </div>'+
    '    <div class="bbj-time-share">'+
    '    <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '    </div>'+
    '    </div>'+
    '</div>'+
    '    <div class="pr photo three-oneSmallTop-top oh clearfix mtone">'+
    '        <div class="photo-figure">'+
    '            <img class="lazy bbj-tl-img" src=\"'+photo_path+'<%= item[2].savePath %>\"/>'+
    '            <div class="bbj-note-jiyu">'+
    '                <p>I am a good Baby</p>'+
    '            </div>'+
    '        </div>'+
    '        <div class="bbj-time-share">'+
    '            <div class="fl bbj-tl-photo-time">2015_Y8_M10_D 11:12</div><div class="fr bbj-tl-photo-share"><a class="bbj-share-qq">QQ</a> <a class="bbj-share-weibo">Sina</a></div>'+
    '        </div>'+
    '    </div>'+
    '</div>';


    $_T.Node_Load_More ="<div>Node_Load_More <%= item.photoCount %>  <%= item.timelineDay %> </div>";
	
	$_T.TitleBar = '<div><div class="bbj_top_td_wrap"><span class="bbj_tl_td_span"><%= timelineDay %></span></div></div>"';
	
	$_T.NavBarItem = "<a><%= item.timelineDay %></a>";
	
	$_T.Node_Cover = '<div class="bbj-note bbj-tl-cover"><div class="time oh">Cover <%= timelineDay %></div></div></div>';

    $_T.NavBarRight = '<div>NavBarRight</div>';

    $_T.NavBarLeft = '<div>NavBarLeft</div>';



})(jQuery);
